/* 
 * Ardesia -- a program for painting on the screen
 * with this program you can play, draw, learn and teach
 * This program has been written such as a freedom sonet
 * We believe in the freedom and in the freedom of education
 *
 * Copyright (C) 2009 Pilolli Pietro <pilolli.pietro@gmail.com>
 *
 * Ardesia is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Ardesia is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */


#include <glib.h>

#include <gtk/gtk.h>

#include <cairo.h>
#include <cairo-pdf.h>


typedef struct
{

  /* The current pdf save thread. */
  GThread  *thread;  

  /* The list contains the file name of all the input pdf pages saved. */
  GSList *input_filelist;

  /* The file name where store the pdf. */
  gchar *filename;

}PdfData;


/* Add the screenshot to pdf. */
void
add_pdf_page (GtkWindow *parent);


/* Quit the pdf saver. */
void
quit_pdf_saver ();


